Increare accuracy of area calculation
In the case of polygons which are "far" away from the origin, as happens frequently in projected SRS, the applied change may increase the accuracy of the area calculation by some order of magnitude. Doing some tests on UTM32N geometries and comparing the result with the result calculated with a routine written with http://de.php.net/manual/en/book.bc.php the accuracy improved by 4 to 5 orders of magnitude.
The patch is against PostGIS 1.5.2.
#503 ST_Area on small polygons in EPSG:31467 gives incorrect results depending on 32-/64-system-architecture –
comment:16
Milestone: |
PostGIS 1.5.3 → PostGIS 2.0.0
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Sounds good to me. Would you feel like attaching an updated patch against trunk and make sure the regression test still passes all ? Even better if you could _add_ a test in the existing tickets.sql file.